home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-10-25 | 1.7 KB | 58 lines | [TEXT/MPS ] |
- {[a-,body+,h-,o=100,r+,rec+,t=4,u+,#+,j=20/57/1$,n-]}
- {UInspector.p}
- {Copyright © 1987-1990 by Apple Computer, Inc. All rights reserved.}
-
- {
- This unit implements two things: a set of lists of all objects in each class. and
- the inspector window (with its associated views.) The global routines below
- together make up the public interface to the inspector. The classes used are
- private to the unit and are declared in UInspector.inc1.p. Refer to that source
- code for more information on the implementation of this unit.
- }
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := FALSE}
- {$ENDC}
-
- {$IFC NOT UsingIncludes}
- UNIT UInspector;
-
- INTERFACE
- {$ENDC}
-
- {$IFC UNDEFINED __UInspector__}
- {$SETC __UInspector__ := FALSE}
- {$ENDC}
-
- {$IFC NOT __UInspector__}
- {$SETC __UInspector__ := TRUE}
-
- { • Required for this unit's interface. Auto-Include them }
- {$SETC UInspectorIncludes := UsingIncludes}
- {$SETC UsingIncludes := TRUE}
- {$I+}
- {$IFC UNDEFINED __UObject__} {$I UObject.p} {$ENDC}
- {$SETC UsingIncludes := UInspectorIncludes}
-
- PROCEDURE InitUInspector;
- { Called during MacApp initialization. Initializes this unit.}
-
- PROCEDURE AddObjectToInspector(theObject: TObject);
- { Called when a new object is created by New or cloning. Adds theObject to the list of
- objects for its class. }
-
- PROCEDURE RemoveObjectFromInspector(theObject: TObject);
- { Called when an object is freed. Removes theObject from the list of objects for its class. }
-
- PROCEDURE MakeInspector;
- { Called during MacApp initialization to make the Inspector document. Must be called after
- creating gApplication.}
-
- PROCEDURE MakeInspectorWindow;
- { Called to make a new Inspector window.}
- {$ENDC}
-
- {$IFC NOT UsingIncludes}
- END.
- {$ENDC}
-